﻿@model MvcAtletIS.Models.Webcontacts

@{
    ViewBag.Title = "Kontakty";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Zmazať kontakt</h2>

<fieldset>
    <legend>Detaily</legend>

    <div class="display-label">
        @Html.LabelFor(model => model.Firstname)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Firstname)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.Surname)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Surname)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.Position)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Position)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.City)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.City)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.Adress)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Adress)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.Email)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Email)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.Phone)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Phone)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.Other)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Other)
    </div>

</fieldset>

@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Zmazať" /> |
        @Html.ActionLink("Naspäť na prehľad kontaktov", "Index", new { CategoryId = Model.CategoryId })
    </p>
}
